import { http } from '@/utils/http'

// 获取微信支付参数
export const payWxPayMiniPayApi = (orderId: string) => {
  return http<WechatMiniprogram.RequestPaymentOption>({
    method: 'GET',
    url: `/pay/wxPay/miniPay?orderId=${orderId}`,
  })
}
// 模拟支付-内测版
export const payMockApi = (orderId: string) => {
  return http({
    method: 'GET',
    url: `/pay/mock?orderId=${orderId}`,
    data: { orderId },
  })
}
